<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="${pageContext.servletContext.contextPath }/static/css/pintuer.css">
<link rel="stylesheet" href="${pageContext.servletContext.contextPath }/static/css/admin.css">
<title>注册</title>
</head>
<body>
	<div class="bg"></div>
	<div class="container">
		<div class="line bouncein">
			<div class="xs6 xm4 xs3-move xm4-move">
				<div style="height: 150px;"></div>
				<div class="panel loginbox">
					<div class="margin-big padding-big-top">
						<h1>注册中心</h1>
					</div>
					
					<form
						action="${pageContext.servletContext.contextPath }/register.servlet"
						method="post" enctype="multipart/form-data">
						<table style="border-collapse:separate; border-spacing:0px 10px;">
							<tr>
								<td>用户名:</td>
								<td><input type="text" name="username"></td>
							</tr>
							<tr>
								<td>密码:</td>
								<td><input type="password" name="password"></td>
							</tr>
							<tr>
								<td>头像:</td>
								<td><input type="file" name="myfile"></td>
							</tr>

							<tr>
								<td><input type="submit" value="注册"></td>
								<td><a
									href="${pageContext.servletContext.contextPath }/views/login/login.jsp">返回登录</a></td>
							</tr>
						</table>

					</form>
					<div style="color: red">${regsiterMsg}</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>